<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="/global/jsp-header.jsp"%>
<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html">
		<title>部门管理</title>
		<%@ include file="/global/html-header.jsp"%>
		<script type="text/javascript">
		$(function() {
			var defaultTabIndex = 1;
			$("#tabs").wijtabs(
			{
					select: function (e, ui) {
						if(ui.panel.init == "true" || ui.panel.init == true){
							return;
						}else if(ui.panel.id=='tabs-1') {
							src = "/action/action-range-input.do";
						}else if(ui.panel.id=='tabs-2') {
							return;
						}else if(ui.panel.id=='tabs-3') {
							src = "";
						}
						$(ui.panel).find('iframe.tabsIframe').attr('src',src);
						ui.panel.init=true;
					},
					selected:defaultTabIndex
			});
		});
		</script>
	</head>
	<body>
		<div id="tabs" style="width: 90%;overflow:hidden; border:1px solid #A3C0E8;" >
				<ul>
					<li><a href="#tabs-1">数据范围</a></li>
					<li><a href="#tabs-2">操作模块</a></li>
					<li><a href="#tabs-3">权限分配</a></li>
				</ul>
				<div id="tabs-1" init="false">
					<iframe frameborder="0" name="queryResultIframe" id="actionRangeIframe" class="tabsIframe"  style="width:98%;" src="about:blank" onload="common.resizeIframe(this)"></iframe>
				</div>
				<div id="tabs-2" init="true">
					<iframe frameborder="0" name="queryResultIframe" id="actionUriIframe" class="tabsIframe"  style="width:98%;"  src="/action/action-uri-input.do" onload="common.resizeIframe(this)"></iframe>
				</div>
				<div id="tabs-3" init="false">
					<iframe frameborder="0" name="queryResultIframe" class="tabsIframe"  style="width:98%;"  src="about:blank" onload="common.resizeIframe(this)"></iframe>
				</div>

			</div>
	</body>
</html>